package com.xhj.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 角色权限(RolePermission)实体类
 *
 * @author makejava
 * @since 2021-03-15 15:11:46
 */
@Data
@TableName("role_permission")
public class RolePermission implements Serializable {
    private static final long serialVersionUID = -20241683897979961L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    
    private String roleId;
    
    private String permissionId;
    /**
    * 逻辑删除 1（true）已删除， 0（false）未删除
    */
    @TableLogic
    private Integer isDeleted;
    /**
    * 创建时间
    */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
    * 更新时间
    */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}